# -*- coding: UTF-8 -*-

# Filename : helloworld.py
# author by : www.runoob.com

import cv2 as cv
img = cv.imread("D:/logo.png")

print(img.shape)
print(img.size)
print(img.dtype)

cv.putText(img,"liujianlin",(100,50),0,0.5,(255,0,0),2)

thumb = cv.resize(img,None,fx=20,fy=20,interpolation=cv.INTER_CUBIC)

cv.namedWindow("Image")
cv.imshow("Image",thumb)
cv.waitKey(0)
cv.destroyAllWindows()













# 该实例输出 Hello World!
print('Hello World!')

